<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 值越小3D效果越好 */
        body{
            perspective: 500px;
        }
        img{
            margin-top: 100px;
            transition: all 0.5s;
            transform-origin: bottom;
        }
        img:hover{
            transform: rotateX(180deg);
        }
    </style>
</head>
<body>
    <img src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3290993963,3013157935&fm=26&gp=0.jpg" alt="">
</body>
</html>